// 抖品相关接口
import http from "../common/http.js"

export default {
	//获取抖品首页分类内容
	vgoodsList: (data,needLoading) => {
		return http.POST('/plugin/vgoods/vgoods/list', data,needLoading) 
	},
	//点赞
	vgoodsGood: (data,needLoading) => {
		return http.POST('/plugin/vgoods/vgoods/good', data,needLoading) 
	},
	//视频页面获取分类
	getCat: (data,needLoading) => {
		return http.GET('/plugin/vgoods/vgoods/get-cat', data,needLoading) 
	},
	//获取某个分类下的视频
	getEdit: (data,needLoading) => {
		return http.GET('/plugin/vgoods/vgoods/edit', data,needLoading) 
	},
}